package DCSource.Size.Default.Byte;
import DCSource.Size.Template.Size;
import DCSource.Size.Template.SizeForm;

public class TeraByte implements SizeForm{
	private Size value = new Size(0,5);
	public TeraByte(){}
	public TeraByte(double value){
		this.value.setValue(value);
	}
	public double getValue(){
		return this.value.getValue();
	}
	public TeraByte setValue(double value){
		this.value.setValue(value);
		return this;
	}
	public double getIndex(){
		return this.value.getIndex();
	}
	public TeraByte add(double value){
		this.value.add(value);
		return this;
	}
	public TeraByte multi(double value){
		this.value.multi(value);
		return this;
	}
	public TeraByte sub(double value){
		this.value.sub(value);
		return this;
	}
	public TeraByte div(double value){
		this.value.div(value);
		return this;
	}
	public TeraByte pow(double value){
		this.value.pow(value);
		return this;
	}
	public TeraByte nsqrt(double value){
		this.value.nsqrt(value);
		return this;
	}
	public double getPower(){
		return this.value.getOrginsPower();
	}
	public TeraByte undoPower(){
		this.value.undoPower();
		return this;
	}
	public String getName(){
		return "Terabyte";
	}
	public String getTag(){
		return "Tb";
	}
	public String toString(){
		return this.value.getValue()+this.getTag();
	}
}
